]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Set up OSK edge drag gesture on capture phase
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 24 May 2022 20:22:05 +0000 (22:22 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 27 May 2022 09:29:26 +0000 (09:29 +0000)
This makes the gesture able to get the events that would otherwise
be meant for the background actor or client window.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5335
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

js/ui/keyboard.js

index 570d39ccbffc97e2d9c136f1dd02e0df588f01e4..499bc28a90c9104db4e21986954059f18e0e6c06 100644 (file)
@@ -1203,7 +1203,7 @@ var KeyboardManager = class KeyBoardManager {
             if (this._keyboard)
                 this._keyboard.gestureCancel();
         });
-        global.stage.add_action(bottomDragAction);
+        global.stage.add_action_full('osk', Clutter.EventPhase.CAPTURE, bottomDragAction);
         this._bottomDragAction = bottomDragAction;
 
         this._syncEnabled();